import pymysql
import os,sys

SETTINGS_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
pymysql.install_as_MySQLdb()

APP_PATH = os.path.join(SETTINGS_DIR, 'apps')
if APP_PATH not in sys.path:
    sys.path.insert(0, APP_PATH)
